package com.nuc.bigdata.orm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuc.bigdata.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @author JackLuo
 * @date 2019/11/28
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "commodity_sell_details")
public class CommoditySellDetails extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String commodityId;

    private BigDecimal stock;

    private String commodityUom;

    private BigDecimal sellPrice;
}
